﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;

namespace Pixysoft.Framework.Sockets
{
    public interface ISocketIoSessionBase
    {
        string Ip { get;}

        string Identifier { get;}

        Socket GetSocket();

        ISessionProfile GetProfile();

        void RegisterSessionDisposable(string key, ISessionDisposable disposable);

        void UnregisterSessionDisposable(string key);

        T GetSessionDisposable<T>(string key);


    }
}
